package com.study.app.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class ConfigA {

    @Autowired
    BeanB beanB;

    @Bean
    public BeanA beanA(){
        return new BeanA();
    }
}
